home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970326-19970626
/
000308_news@newsmaster….columbia.edu _Mon Jun 16 18:12:07 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA22969
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 16 Jun 1997 18:12:07 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id SAA26797
for kermit.misc@watsun; Mon, 16 Jun 1997 18:12:06 -0400 (EDT)
Path: news.columbia.edu!panix!news.mathworks.com!worldnet.att.net!newsadm
From: Tom.Horsley@worldnet.att.net (Thomas A. Horsley)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Announcing Kermit 95 1.1.12 for Windows 95, Windows NT, and OS/2
Date: 16 Jun 1997 18:07:06 -0400
Organization: AT&T WorldNet Services
Lines: 25
Sender: tom@SPIKE.cc.columbia.edu
Message-ID: <un2oqrylx.fsf@worldnet.att.net>
References: <5np317$6qv$1@newsmaster.cc.columbia.edu>
<5o1l5n$89d@bug.rahul.net> <5o3k1e$obf$1@newsmaster.cc.columbia.edu>
<5o40t1$a3n@bug.rahul.net> <5o41o2$dka$1@newsmaster.cc.columbia.edu>
NNTP-Posting-Host: 207.146.80.150
X-Newsreader: Gnus v5.3/Emacs 19.34
Xref: news.columbia.edu comp.protocols.kermit.misc:7169
>Not currently -- that's how we wanted to do it in the first place, but that
>would require knowing the API for every release of every browser on every
>platform, so for now we just start a new browser. It's not as dumb an
>approach as it might seem, however, since multiple browsers share the same
>memory for pure code in Windows 95, Windows NT, and OS/2. But yes, we do
>plan to revisit this question subsequent releases.
Not true - a browser independent API is already defined by Microsoft (but
admittedly doesn't work on pre 4.0 versions of NT). For example, this little
program will invoke a browser if it has to or just tell the existing browser
to jump to the given URL, and it don't know 'nuthin about any browser:
#include <stdio.h>
#include <windows.h>
#include <shellapi.h>
int __cdecl
main(int argc, char **argv) {
if (argc == 2) {
ShellExecute(0, 0, argv[1], 0, 0, SW_NORMAL);
} else {
fputs("Please call with a single argument (a URL)\n", stderr);
exit(2);
}
return 0;
}